package org.apache.struts.ehr.patient_details.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * POJO class for PatientDetails
 * @author Ureka
 *
 */
public class PatientDetails {
	private Patient patient;
	private PatientAddress patientAddressList;
	private List <PatientDisability> patientDisabilityList;
	private List <PatientEmail> patientEmailList;
	private List <PatientTelephone> patientTelephoneList;
	private List <PatientAllergy> patientAllergyList;
	
	public PatientDetails(){
		patient=new Patient();
		patientAddressList=new PatientAddress();
		patientEmailList=new ArrayList<PatientEmail>();
		patientTelephoneList=new ArrayList<PatientTelephone>();
		}
	
	public PatientAddress getPatientAddressList() {
		return patientAddressList;
	}
	public void setPatientAddressList(PatientAddress patientAddressList) {
		this.patientAddressList = patientAddressList;
	}
	public List<PatientDisability> getPatientDisabilityList() {
		return patientDisabilityList;
	}
	public void setPatientDisabilityList(List<PatientDisability> patientDisabilityList) {
		this.patientDisabilityList = patientDisabilityList;
	}
	public List<PatientEmail> getPatientEmailList() {
		return patientEmailList;
	}
	public void setPatientEmailList(List<PatientEmail> patientEmailList) {
		this.patientEmailList = patientEmailList;
	}
	public List<PatientTelephone> getPatientTelephoneList() {
		return patientTelephoneList;
	}
	public void setPatientTelephoneList(List<PatientTelephone> patientTelephoneList) {
		this.patientTelephoneList = patientTelephoneList;
	}
	public List<PatientAllergy> getPatientAllergyList() {
		return patientAllergyList;
	}
	public void setPatientAllergy(List<PatientAllergy> patientAllergyList) {
		this.patientAllergyList = patientAllergyList;
	}
	
	public Patient getPatient() {
		return patient;
	}
	public void setPatient(Patient patient) {
		this.patient = patient;
	}
	/*public List<PatientAddress> getpAddress() {
		return pAddress;
	}
	public void setpAddress(List<PatientAddress> pAddress) {
		this.pAddress = pAddress;
	}
	public List<PatientDisability> getpDisability() {
		return pDisability;
	}
	public void setpDisability(List<PatientDisability> pDisability) {
		this.pDisability = pDisability;
	}
	public List<PatientEmail> getpEmail() {
		return pEmail;
	}
	public void setpEmail(List<PatientEmail> pEmail) {
		this.pEmail = pEmail;
	}
	public List<PatientTelephone> getpTelephone() {
		return pTelephone;
	}
	public void setpTelephone(List<PatientTelephone> pTelephone) {
		this.pTelephone = pTelephone;
	}
	public List<PatientAllergy> getpAllergy() {
		return pAllergy;
	}
	public void setpAllergy(List<PatientAllergy> pAllergy) {
		this.pAllergy = pAllergy;
	}*/ 
	
}
